<?php require_once("admin-header.php");
if (!(isset($_SESSION['administrator']))){
	echo "<a href='../loginpage.php'>Please Login First!</a>";
	exit(1);
}
?>

<center><h2>题目导出（实验功能）</h2></center>

<form class="form-horizontal col-sm-6 col-sm-offset-2" action="problem_export_xml.php" method="post">
    <div class="form-group">
        <label class="col-sm-5 control-label">开始题目ID</label>
        <div class="col-sm-7">
        <input class="form-control" name="start" type="text"/></div>
    </div>
	<div class="form-group">
        <label class="col-sm-5 control-label">结束题目ID</label>
        <div class="col-sm-7">
        <input class="form-control" name="end" type="text"/></div>
    </div>
	<hr/>
	<div class="form-group">
        <label class="col-sm-5 control-label">自定义</label>
        <div class="col-sm-7">
        <input class="form-control" name="in" type="text"/></div>
    </div>
	<input type='hidden' name='do' value='do'>
	<div class="form-group">
        <div class="col-sm-offset-5 col-sm-7">
            <input type="submit" class="btn btn-primary col-sm-8" value="下载"/>
        </div>
    </div>
	<?php require_once("../include/set_post_key.php");?>
</form>

